﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace YSL_Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("YSL_WORKORDER")]
    public partial class YSL_WORKORDER
    {
        public YSL_WORKORDER()
        {


        }
        /// <summary>
        /// Desc:工单主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string WORKORDERID { get; set; }

        /// <summary>
        /// Desc:编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string CODEID { get; set; }

        /// <summary>
        /// Desc:类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string WORKORDER_TYPE { get; set; }

        /// <summary>
        /// Desc:产品主数据(外键)
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string PRODUCT_DATA { get; set; }

        /// <summary>
        /// Desc:工艺路线(外键)
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string PROCESS_ROUTE { get; set; }

        /// <summary>
        /// Desc:产线（外键）
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string PRODUCTION_LINE { get; set; }

        /// <summary>
        /// Desc:状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string WORK_STATUS { get; set; }

        /// <summary>
        /// Desc:计划开始日期
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public DateTime? START_TIME { get; set; }

        /// <summary>
        /// Desc:计划结束日期
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public DateTime? END_TIME { get; set; }

        /// <summary>
        /// Desc:数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public long? NUMBER_COL { get; set; }

        /// <summary>
        /// Desc:工序进度
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string PROCESS_PROGRESS { get; set; }

        /// <summary>
        /// Desc:是否跳过工序
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public long? ISORSKIP { get; set; }

        /// <summary>
        /// Desc:附件上传
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string ATTACHMENT { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string WORKORDER_DESC { get; set; }

        /// <summary>
        /// Desc:源工单号
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string SOURCE_WORKER { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string CREATOR { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public DateTime? CREATE_TIME { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string UPDATOR { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public DateTime? UPDATE_TIME { get; set; }

        /// <summary>
        /// Desc:逻辑删除
        /// Default:0
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public bool? ISDELETE { get; set; }

        /// <summary>
        /// Desc:备用字段1
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public decimal? FILD1 { get; set; }

        /// <summary>
        /// Desc:备用字段2
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string FILD2 { get; set; }

        /// <summary>
        /// Desc:备用字段3
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string FILD3 { get; set; }

        /// <summary>
        /// Desc:备用字段4
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string FILD4 { get; set; }

        /// <summary>
        /// Desc:备用字段5
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string FILD5 { get; set; }

        /// <summary>
        /// Desc:锁定状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string LOCK_STATUE { get; set; }
    }
}
